package com.syn.mail.coupon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//使用 @EnableDiscoveryClient 注解开启服务注册与发现功能
@EnableDiscoveryClient
@SpringBootApplication
public class MailCouponApplication {
    //此项目的每个微服务创建自己的命名空间，使用配置分组区分环境：dev,test,prod
    public static void main(String[] args) {
        SpringApplication.run(MailCouponApplication.class, args);
    }

}
